package com.wxmit.ot.extensions.manifold.rt.api.Array;

import manifold.ext.rt.api.Extension;

import java.util.Arrays;

/**
 * 数组扩展类
 *
 * @author huangxiong
 * @version V1.0
 * @date 2023/2/23 14:12
 */
@Extension
public class OtArrayExtension {

    @Extension
    public static String[] ofStr(String...args){
        String[] strings = new String[args.length];
        for(int i = 0,len = args.length ; i < len ; i++){
            strings[i] = args[i];
        }

        return strings;
    }
}
